﻿using System;

namespace edowork.com.Model
{
    #region logisticsInfo

    [Serializable]
    public class logisticsInfo
    {
        #region Private fields

        protected string _logisticsid = String.Empty;
        protected string _logisticsname = String.Empty;
        protected string _phone = String.Empty;
        protected string _contact = String.Empty;
        protected string _url = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public logisticsInfo() { }

        #region Public Properties

        public string Logisticsid
        {
            get { return _logisticsid; }
            set { _logisticsid = value; }
        }

        public string Logisticsname
        {
            get { return _logisticsname; }
            set { _logisticsname = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public string Contact
        {
            get { return _contact; }
            set { _contact = value; }
        }

        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into logistics(Logisticsid,Logisticsname,Phone,Contact,Url,Sysdate) values('{0}','{1}','{2}','{3}','{4}','{5}')";
        }

        #endregion

    }

    #endregion
}

